<div class="col-md-9">
      <ol class="breadcrumb">
      <li><a href="#">Alumnos</a></li>
      <li class="active">Inicio</li>
    </ol>  
<?php //echo CHtml::link(' Agregar ',array('Profesores/listado/'),array('class'=>'btn btn-primary','role'=>'button')); ?>
      <hr>
			<div class="panel panel-primary">
				<div class="panel-heading">
         Datos Requeridos del Alumno     
        </div>
  				<div class="panel-body">
          
          <?php $form=$this->beginWidget('CActiveForm', array(
  'id'=>'alumnos-formalumnos-form',
  // Please note: When you enable ajax validation, make sure the corresponding
  // controller action is handling ajax validation correctly.
  // See class documentation of CActiveForm for details on this,
  // you need to use the performAjaxValidation()-method described there.
  'enableAjaxValidation'=>false,
  'htmlOptions'=>array('class'=>'form-horizontal', 'role'=>'form' )
)); ?>



  <?php echo $form->errorSummary($model); ?>
  <div class="form-group">
    <?php echo $form->labelEx($model,'Matricula', array('class' =>'col-lg-2' )); ?>
    <div class="col-lg-5">
    
    <?php  echo $form->labelEx($model,$model->matricula, array('class' => 'form-control'));?>
    
    </div>
    
  </div>
  <div class="form-group">
    <?php echo $form->labelEx($model,'Nombres', array('class' =>'col-lg-2' )); ?>
    <div class="col-lg-5">
    
    <?php  echo $form->labelEx($model,$model->nombres, array('class' => 'form-control'));?>
    
    </div>
    
  </div>
  <div class="form-group">
    <?php echo $form->labelEx($model,'Apellidos', array('class' =>'col-lg-2' )); ?>
    <div class="col-lg-5">
    
    <?php  echo $form->labelEx($model,$model->apellidop . " ". $model->apellidom, array('class' => 'form-control'));?>
    
    </div>
    
  </div>
   <div class="form-group">
    <?php echo $form->labelEx($model,'seguro', array('class' =>'col-lg-2' )); ?>
    <div class="col-lg-5">
    
    <?php  echo $form->dropDownList($model,'id_carrera', array('IMSS'=>'IMSS','ISSTE'=>'ISSTE','Otro'=>'Otro'),array('empty'=>'Seleccionar Tipo Seguro','class' => 'form-control'));?>
    
    </div>
  </div>
    <div class="form-group">
    <?php echo $form->labelEx($model,'numeross', array('class' =>'col-lg-2' )); ?>
    <div class="col-lg-5">
    
    <?php echo $form->textField($model,'numeross',array('class' => 'form-control')); ?>
    
    </div>
  </div>
  <div class="form-group">
    <?php echo $form->labelEx($model,'domicilio', array('class' =>'col-lg-2' )); ?>
    <div class="col-lg-5">
    
    <?php echo $form->textField($model,'domicilio',array('class' => 'form-control')); ?>
    
    </div>
  </div>
  <div class="form-group">
    <?php echo $form->labelEx($model,'ciudad', array('class' =>'col-lg-2' )); ?>
    <div class="col-lg-5">
    
    <?php echo $form->textField($model,'ciudad',array('class' => 'form-control')); ?>
    
    </div>
  </div>
  <div class="form-group">
    <?php echo $form->labelEx($model,'telefono', array('class' =>'col-lg-2' )); ?>
    <div class="col-lg-5">
    
    <?php echo $form->textField($model,'telefono',array('class' => 'form-control')); ?>
    
    </div>
  </div>
  <div class="form-group">
    <?php echo $form->labelEx($model,'Carrera', array('class' =>'col-lg-2' )); ?>
    <div class="col-lg-5">
    
    <?php  echo $form->dropDownList($model,'id_carrera', CHtml::listData(Carreras::model()->findAll(),'id_carrera','nombre'),array('empty'=>'Seleccionar Carrera','class' => 'form-control'));?>
    
    </div>
    
  </div>

   <div class="form-group">
    <div class="col-lg-offset-2 col-lg-10">
      <div class="checkbox">
        <label>

          <?php 
          if($model->status==1)
          {
          echo $form->checkBox($model,'status', array('checked' =>'checked' ));
          }
          else
           echo $form->checkBox($model,'status' ); 
           ?> Activo  
          
          
        </label>
      </div>
    </div>
  </div>


  <div class="form-group">
    <div class="col-lg-offset-2 col-lg-10">
      <?php echo CHtml::submitButton('Guardar',  array('class' => 'btn btn-primary' )); ?>
    </div>
  </div>

<?php $this->endWidget(); ?>



          </div>  


          </div>
</div>


        </div><!--/span-->
    </div><!--cierre del col-md-->

  </div>